//
//  QJTuiJianVC.m
//  QuanJieShopProject
//
//  Created by 刘中义 on 2018/2/28.
//  Copyright © 2018年 apple. All rights reserved.
//

#import "QJTuiJianVC.h"
#import "QJTypeVC.h"
#import "QJTypeTJVC.h"
@interface QJTuiJianVC ()

@end

@implementation QJTuiJianVC

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
    self.title = @"推荐关系";
    
}
- (void)viewWillAppear:(BOOL)animated{
    [super viewWillAppear:animated];
    //控件不被导航栏遮挡
    self.navigationController.navigationBar.translucent = NO;
}
- (void)viewDidDisappear:(BOOL)animated{
    [super viewDidDisappear:animated];
}
- (IBAction)btnClickAction:(UIButton *)sender {
    NSInteger tag = sender.tag;
    QJTypeVC *VC = [[QJTypeVC alloc]init];
    QJTypeTJVC *tjVC = [[QJTypeTJVC alloc]init];
    switch (tag) {
        case 200:
        {
            VC.typeStr = @"泉界会员";
            KPushViewControllerAction(VC);
        }
            break;
        case 201:
        {
            VC.typeStr = @"泉界创客";
            KPushViewControllerAction(VC);
        }
            break;
        case 202:
        {
            VC.typeStr = @"泉界商家";
            KPushViewControllerAction(VC);
        }
            break;
        case 203:
        {
            KPushViewControllerAction(tjVC);
        }
            break;
            
        default:
            break;
    }
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
